package com.jindi.appuser.service;

import com.jindi.appuser.common.ServerResponse;
import com.jindi.appuser.domain.Address;
import com.jindi.appuser.domain.WinningRecord;


/**
 * Created with IntelliJ IDEA.
 * User: duanj
 * Date: 2017-12-21
 * Time: 14:41
 * Description:
 */
public interface UserService {
    ServerResponse checkUserName(String username);

    ServerResponse getSmsCode( String phone,String ip,String type);

    ServerResponse regBz(String phone, String smsCode, String pwd);

    ServerResponse logJczs(String phone, String pwd,String accessToken,String openId,String type);

    ServerResponse restPwdJczs( String phone, String smsCode,String newPwd);

    ServerResponse luckDraw(String uid);

    ServerResponse luckDrawInit(String uid);

    ServerResponse signIn(String uid);

    ServerResponse checkPower(String uid);

    ServerResponse getUserInfo(String uid);

    ServerResponse sign(String uid);

    ServerResponse userList(String name, String pageNum, String pageSize);

    ServerResponse orderList(String name, String pageNum, String pageSize);

    ServerResponse countOrder();

    ServerResponse countOrderNum();

    ServerResponse countUserList();

    ServerResponse winningRecordList(String name, Integer pageSize, Integer pageNum);

    ServerResponse orderListName(String name, String pageNum, String pageSize);

    ServerResponse queryAddressDetailsByAid(String aid);

    ServerResponse queryAddressListByUid(String uid);

    ServerResponse delAddressByAid(String aid);

    ServerResponse addAddress4User(Address address);

    ServerResponse makeList();

    ServerResponse getMyPrizeList(String uid);

    ServerResponse winningRecordUpdate(String doType,String wid);

    ServerResponse winningRecordInfo(String name);

    ServerResponse userUpdate(String uid, String count);

    ServerResponse delUser(String uid);

    ServerResponse userAddressList(String uid);

    ServerResponse updateUserTimeByAid(String uid);

    ServerResponse userUpdateTime(String uid, String time);

}
